package com.xneure.database.dialect;

import com.xneure.database.DataSourceContext;

public abstract class SqlDialect{

	public SqlDialect(){
	}

	public SqlDialect(String dbSign){
		DataSourceContext.sqlDialect.put(dbSign,this);
	}

	public abstract String paging(String sql,int start,int end);

	public abstract String joint(String... str);

	public String batchSql(String sql){
		return sql;
	}

	public abstract String toDate(Object _value);

	public abstract String toTimestamp(Object _value);
}
